import { post } from '@/utils/fetch';

const selectResource = data => post('/usercenter-admin-app/admin/sysResource/selectPage', data);
const selectResourceAction = data => post('/usercenter-admin-app/admin/sysResource/selectResourceAction', data);
const insertResourceAction = data => post('/usercenter-admin-app/admin/sysResource/insertResourceAction', data);
const updateResourceAction = data => post('/usercenter-admin-app/admin/sysResource/updateResourceAction', data);
const removeResourceAction = data => post('/usercenter-admin-app/admin/sysResource/removeResourceAction', data);
const removeResource = data => post('/usercenter-admin-app/admin/sysResource/removeResource', data);
export { selectResource, selectResourceAction, insertResourceAction, updateResourceAction, removeResourceAction, removeResource };